# $Id: PKGBUILD 65265 2012-02-20 12:41:52Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Todd Harbour <lefallen@quadronyx.com.au>

pkgname=xmpppy
pkgver=0.5.0_rc1
pkgrel=2
pkgdesc="A Python library to provide easy scripting with Jabber"
arch=('any')
url="http://xmpppy.sourceforge.net/"
license=('GPL')
depends=('python2')
makedepends=('python2-distribute')
source=(http://downloads.sourceforge.net/project/xmpppy/xmpppy/${pkgver/_/-}/xmpppy-${pkgver/_/}.tar.gz)
md5sums=('e0d2b3f9e4a278c163431e64adb0c861')

build()
{
  cd $srcdir/$pkgname-${pkgver/_/}
  python2 setup.py build
  python2 setup.py install --prefix=/usr --root=$pkgdir install
}
